package cn.service;

import cn.entities.RoleInfo;
import com.github.pagehelper.Page;

import java.util.List;

public interface RoleService {

    public Page<List<RoleInfo>> getRole(Integer pageNumber, Integer pageSize);

    public void addRole(RoleInfo roleInfo);

    public RoleInfo getRoleById(Integer id);

    public void updateRole(RoleInfo roleInfo);

    public void deletRole(String ids);

    public List<RoleInfo> getAllRole();
}
